package com.adms.domain;

import com.adms.domain.Site;
import com.adms.domain.SiteExample;
import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface SiteMapper {
	
//	
	Site selectByPrimaryKeyWithCompleted(Integer siteId);
	List<Map<String, Object>> selectByExampleWithCompleted(SiteExample ex);
	void deleteBatch(Integer[] siteIds);
//	
	
    long countByExample(SiteExample example);

    int deleteByExample(SiteExample example);

    int deleteByPrimaryKey(Integer siteId);

    int insert(Site record);

    int insertSelective(Site record);

    List<Site> selectByExample(SiteExample example);

    Site selectByPrimaryKey(Integer siteId);

    int updateByExampleSelective(@Param("record") Site record, @Param("example") SiteExample example);

    int updateByExample(@Param("record") Site record, @Param("example") SiteExample example);

    int updateByPrimaryKeySelective(Site record);

    int updateByPrimaryKey(Site record);

}